package com.uzai.common.enums;

/**
 * The enum Work order opt type.
 *
 * @author mingyang.chen create in 2023/6/16 14:21
 */
public enum WorkOrderBugType {

    /**
     * Order work order bug type.
     */
    ORDER(1, "订单问题"),
    /**
     * User work order bug type.
     */
    USER(2, "用户问题"),
    /**
     * Function work order bug type.
     */
    FUNCTION(3, "功能问题"),
    /**
     * Other work order bug type.
     */
    OTHER(4, "其他问题"),
    ;

    private final int code;

    private final String desc;

    WorkOrderBugType(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    /**
     * Gets code.
     *
     * @return the code
     */
    public int getCode() {
        return code;
    }

    /**
     * Gets desc.
     *
     * @return the desc
     */
    public String getDesc() {
        return desc;
    }
}
